/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.lista05;

/**
 *
 * @author mendel
 */
public interface Repositorio {
    public abstract boolean cadastrarTarefa(int opcaoTipoTarefa, int opcaoTarefa) 
           throws LotadoException, ImportanciaException;
    public abstract boolean removerTarefa(int codTarefa)
           throws SemTarefaException;
    public abstract TarefaTO consultarTarefa(int codigo)
            throws SemTarefaException;
    public abstract TarefaTO[] listarTarefa();
    public abstract boolean iniciarTarefa(int codigo)
            throws SemTarefaException;
    public abstract boolean encerrarTarefa(int codigo, double wValorCobrado)
            throws SemTarefaException;
    public abstract boolean alterarImportancia(int codigo, int wOpcao)
            throws SemTarefaException;
    public abstract boolean cancelarTarefa(int codigo)
            throws SemTarefaException;
}
